<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>JavaScript 字符串</title>
</head>
<body>
<h2>长代码行换行</h2>
<p>长字符串换行的最安全做法是使用字符串加法：</p>

<p id="demo"></p>

<script>
  document.getElementById("demo").innerHTML = "Hello " +
          "Kitty";
</script>

</body>
</html>